package com.kvn.backdoor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;

/**
 * Created by wangzhiyuan on 2018/8/16
 */
@SpringBootApplication
public class BackdoorApplication {

    public static void main(String[] args) {
        new SpringApplication(BackdoorApplication.class).run(args);
    }

    @Bean
    public MethodValidationPostProcessor methodValidationPostProcessor() {
        return new MethodValidationPostProcessor();
    }

}
